<template>
  <div>
       <el-table
        :data="bussinessInfo" style="width: 100%">
        <el-table-column
          type="selection"
          width="55">
        </el-table-column>
        <el-table-column
          prop='username'
          label="姓名"
          width="120">          
        </el-table-column>
        <el-table-column
          prop="phonenumber"
          label="电话号码"
          width="120">
        </el-table-column>
        <el-table-column
          prop="address"
          label="地址"
          show-overflow-tooltip>
        </el-table-column>
        <el-table-column
          prop="idnumber"
          label="身份证号码"
          show-overflow-tooltip>
        </el-table-column>
      </el-table>
      <!-- :addUserVisible="addUserVisible"
            @val-change="changeAddUser"
            @cancel="addUserVisible = false"
            :modalType='modalType'
            :getList='getList'
            :currentrow='currentrow'
            @closeDialog='closeDialog'
            :identifyType='identifyType' -->
      <add-user 
            
        ></add-user>   
  </div>
</template>

<script>
// import UserTable from '../useritem/UserTable.vue'
import addUser from '../../../components/content/useritem/addUser.vue';
export default {
  name:'customerHome',
  props:{
    bussinessInfo:{
      type:Array,
      default:[]
    },
    identifyType:Number
  },
  components:{
    addUser
  },
  
  // components:{
  //   UserTable    
  // },
  created(){
    console.log(this.bussinessInfo);
    // console.log(this.bussinessName);
  }
}
</script>

<style>

</style>